/***************************************************
* Module name: Rectangular
*
* Copyright 2008 JuanSebastian S.A.
* All Rights Reserved.
*
* The information contained herein is confidential
* property of Company. The user, copying, transfer or
* disclosure of such information is prohibited except
* by express written agreement with Company.
*
* First written on 1-dic-08 by Juan Sebastian Cabrera (57+3006081048).
*
* Module Description:
* define a class of number complex in rectangular coordinates
*
***************************************************/
#define _RECT

#include <iostream>

class Rectangular
{

public:
  Rectangular(){cout << "A rectangular objetc is created." << endl;}
  ~Rectangular(){cout << "A rectangular Objetc is destroyed." << endl;}
  
  void setReal(float real){this->real = real;}
  float getReal()const {return this->real;}           //funtion const
  void setImaginary(float imaginary){this->imaginary = imaginary;}
  float getImaginary()const {return this->imaginary;} //funtion const

private:
  float real;
  float imaginary;
};


